package com.chenqq.qsocket.handler;

import com.chenqq.qsocket.listener.SocketMessageListener;
import com.chenqq.qsocket.message.SocketMessage;

import org.apache.mina.core.session.IoSession;
import org.json.JSONException;


public interface MessageHandler {
	 void handleMessage(SocketMessage msg, IoSession session) throws JSONException;
	 void handleListener(String tag,SocketMessageListener listener);
}
